﻿using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;

namespace SmartApi
{
    public class OnPreparedEventArgs : EventArgs
    {
        public RequestContext RequestContext { get; set; }
    }
    public delegate Task OnPreparedHandler(object sender, OnPreparedEventArgs eventArgs);

    /// <summary>
    /// 准备请求
    /// </summary>
    public interface IPrepareRequest
    {
        event OnPreparedHandler OnPrepared;
        Task Prepare(RequestContext requestContext);
    }
}
